package cn.weakup.thread.callback;

/**
 * @author Dawn
 * @version 1.0.0
 * @desc
 * @date 2022/5/4
 */
public class TestTaskResult {

    public static void main(String[] args) {
        TaskCallable<TaskResult> taskCallable = new TaskHandler();
        TaskExecutor taskExecutor = new TaskExecutor(taskCallable, "测试回调任务");
        new Thread(taskExecutor).start();



    }
}
